LoadModule wsgi_module modules/mod_wsgi.so

WSGIDaemonProcess statscache user=apache group=apache maximum-requests=50000 display-name=statscache processes=4 threads=4 inactivity-timeout=300
WSGISocketPrefix run/wsgi
WSGIRestrictStdout Off
WSGIRestrictSignal Off
WSGIPythonOptimize 1

WSGIScriptAlias /statscache         /usr/share/statscache/apache/statscache.wsgi
Alias           /statscache/static/ /usr/lib/python2.7/site-packages/statscache/static/

<Location /statscache>
    WSGIProcessGroup statscache
    Require all granted
</Location>
<Directory /usr/share/statscache/>
    Require all granted
</Directory>
